@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  /* Normal Fonts */
  @font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: auto;

    src: url(./assets/fonts/Poppins-Regular.ttf);
  }

  @font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: auto;

    src: url(./assets/fonts/Poppins-Medium.ttf);
  }

  @font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: auto;

    src: url(./assets/fonts/Poppins-SemiBold.ttf);
  }

  /* Italic Fonts */
  @font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 400;
    font-display: auto;

    src: url(./assets/fonts/Poppins-Italic.ttf);
  }

  @font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 500;
    font-display: auto;

    src: url(./assets/fonts/Poppins-MediumItalic.ttf);
  }

  @font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 600;
    font-display: auto;

    src: url(./assets/fonts/Poppins-SemiBoldItalic.ttf);
  }
}

@layer base {
  input[type='number']::-webkit-outer-spin-button,
  input[type='number']::-webkit-inner-spin-button,
  input[type='number'] {
    -webkit-appearance: none;
    margin: 0;
    -moz-appearance: textfield !important;
    appearance: none;
  }
}

/* a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
} */
